package com.ybwh.springboot2.demo;

import com.ybwh.springboot2.common.enums.CodeTextEnum;
import com.ybwh.springboot2.common.enums.EnumId;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * <p>
 *
 * </p>
 *
 * @author fanbeibei
 * @version 1.0.0
 * @date 2022/3/14 18:03
 */
@EnumId("hoby")
@Getter
@AllArgsConstructor
public enum HobyEnum implements CodeTextEnum<String> {
    football("football", "足球"),
    basketball("basketball", "篮球"),
    ;
    private String code;

    private String text;

}
